package com.sl.au.entity;

import javax.persistence.*;
import java.util.Date;

/**
 * 回款登记表
 * Created by RX on 2016/11/22.
 */
@Entity
@Table(name="sl_crm_payRegist")
public class PayRegist extends Root{
    /** 回款金额 */
    @Column(name="nPaidSum")
    private float paidSum;
    /** 回款方式 */
    @Column(name="sPaidWay")
    private String paidWay;
    /** 回款时间 */
    @Column(name="dPaidDate")
    private Date paidDate;
    /** 汇款人 */
    @Column(name="sPayMan")
    private String payMan;
    /** 汇款人ID */
    @Column(name="sPayManID")
    private String payManID;
    /** 备注 */
    @Column(name="sMemo")
    private String memo;
    /** 合同Id */
    @Column(name="sContractId")
    private String contractId;
    /** 合同类型 */
    @Column(name="sContractType")
    private String contractType;
    /** 经办人 */
    @Column(name="handler")
    private String handler;
    /** 是否考核 */
    @Column(name="isAssess")
    private String isAssess;
    /**
     * user_id(创建人id)
     */
    @ManyToOne
    @JoinColumn(unique = false)
    private User user;

    public String getHandler() {
		return handler;
	}

	public void setHandler(String handler) {
		this.handler = handler;
	}

	public String getIsAssess() {
		return isAssess;
	}

	public void setIsAssess(String isAssess) {
		this.isAssess = isAssess;
	}

	public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public float getPaidSum() {
        return paidSum;
    }

    public void setPaidSum(float paidSum) {
        this.paidSum = paidSum;
    }

    public String getPaidWay() {
        return paidWay;
    }

    public void setPaidWay(String paidWay) {
        this.paidWay = paidWay;
    }

    public Date getPaidDate() {
        return paidDate;
    }

    public void setPaidDate(Date paidDate) {
        this.paidDate = paidDate;
    }

    public String getPayMan() {
        return payMan;
    }

    public void setPayMan(String payMan) {
        this.payMan = payMan;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public String getContractType() {
        return contractType;
    }

    public void setContractType(String contractType) {
        this.contractType = contractType;
    }

    public String getPayManID() {
        return payManID;
    }

    public void setPayManID(String payManID) {
        this.payManID = payManID;
    }
}
